package com.powernode.service;


import com.powernode.dao.RecentGraphMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author Hanyixuan
 */
@Service
public class RecentGraphService {

    @Resource
    RecentGraphMapper recentGraphMapper;

    public int getxinguanCount(String date, String floorSite){
        return recentGraphMapper.selectxinguanCount(date, floorSite);
    }

    public int getaiziCount(String date, String floorSite){
        return recentGraphMapper.selectaiziCount(date, floorSite);
    }

}
